home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / dnet / dnetsolaris.lzh / client / Makefile < prev    next >
Encoding:
Makefile  |  1994-04-17  |  819 b   |  40 lines

  1.  
  2. #    DNET CLIENTS
  3. #
  4. #   DNET (c)Copyright 1988, Matthew Dillon, All Rights Reserved.
  5. #
  6.  
  7. NETLIB = ../lib/dnetlib.o
  8. BIN = ../bin
  9.  
  10. CC = gcc
  11. CFLAGS = -O2 -DSYSV -DBSD_COMP -I/usr/ucbinclude
  12.  
  13. LIBS = /usr/ucblib/libucb.so /usr/lib/libsocket.so
  14.  
  15. ALLIBS = $(NETLIB) $(LIBS)
  16.  
  17. .c.o: ; $(CC) $(CFLAGS) -c $*.c 
  18.  
  19. all:    $(NETLIB) $(BIN)/draw $(BIN)/dsoc $(BIN)/putfiles $(BIN)/dprint \
  20.     $(BIN)/getfiles
  21.  
  22. $(BIN)/draw:        draw.o
  23.     $(CC) $(CFLAGS) draw.o $(ALLIBS) -o $(BIN)/draw
  24.  
  25. $(BIN)/dsoc:        dsoc.o
  26.     $(CC) $(CFLAGS) dsoc.o $(ALLIBS) -o $(BIN)/dsoc
  27.  
  28. $(BIN)/getfiles:        getfiles.o 
  29.     $(CC) $(CFLAGS) getfiles.o $(ALLIBS) -o $(BIN)/getfiles
  30.  
  31. $(BIN)/putfiles:        putfiles.o 
  32.     $(CC) $(CFLAGS) putfiles.o $(ALLIBS) -o $(BIN)/putfiles
  33.  
  34. $(BIN)/dprint:        dprint.o
  35.     $(CC) $(CFLAGS) dprint.o $(ALLIBS) -o $(BIN)/dprint
  36.  
  37. clean:
  38.     rm -f *.o make.out
  39.  
  40.